package com.itxg.booksmanage.entity.dto;

import com.itxg.booksmanage.entity.Book;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageDto {
    // 总页数
    private Long total;
    // 当前页
    private Long current;
    // 数据
    private List<Book> books;
}
